package com.lingxu.api.ztb.mapper;

import com.lingxu.api.ztb.model.CProjectExtendInfo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lingxu.api.ztb.model.vo.CProjectExtendInfoVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;


import java.util.List;
import java.util.Map;

/**
 * 项目表 Mapper接口
 *
 * @author admin
 * @since 2025-09-22
 */
@Mapper
public interface CProjectExtendInfoMapper extends BaseMapper<CProjectExtendInfo> {
    /**
     * 查询项目表
     *
     * @return
     */
    List<CProjectExtendInfoVO> selectCProjectExtendInfoList(@Param("query") CProjectExtendInfoVO vo);

    IPage<CProjectExtendInfoVO> pageList(@Param("page") Page<CProjectExtendInfoVO> page, @Param("query") CProjectExtendInfoVO vo);

    List<CProjectExtendInfoVO> getDataForExport(@Param("query") CProjectExtendInfoVO vo);

    void createTempTable(@Param("batchFlag")String batchFlag);
    void insertTempTable(@Param("list") List<CProjectExtendInfoVO> dataList, @Param("batchFlag")String batchFlag);
    void insertTable(@Param("batchFlag")String batchFlag);
    void dropTempTable(@Param("batchFlag")String batchFlag);

    List<Map<String, Object>> getGH();
}
